﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="SystemManage_SystemParamConfig_MoneyLimit" Codebehind="MoneyLimit.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <script type="text/javascript" language="javascript">
   
function CheckFloat(fCtrlName, fAlertStr)
{
    var reg="^(([0-9]+\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\.[0-9]+)|([0-9]*[1-9][0-9]*))$";
    var fData=document.getElementById(fCtrlName).value;
    if(!fData.match(reg))
    {
        document.getElementById(fCtrlName).value="";
        document.getElementById(fCtrlName).focus();
        alert(fAlertStr);
    }
}
    </script>
      <style type="text/css">
body{padding:0; margin:0; background-color:#ffffff; text-align:center; font: "宋体"; font-size:12px;}
h2 {padding-left:20px;padding-top:10px;margin:0; background: url(../../Include/Images/menu_title.gif) repeat-x;height:21px;font-size:14px; font-weight:600;}
.input_button {width:52px;height:23px;border:none;cursor:pointer; background:#ffffff url(../../Include/Images/bt.gif) no-repeat;}
.menu_bg {background-color:#fef3bb; padding-left:20px;padding-top:6px; padding-bottom:6px;border-bottom:#cf994b 1px solid;}
.menu_bg3 { background-color:#f5f5f5; padding-left:20px;padding-top:6px; padding-bottom:6px;border-bottom:#cccccc 1px solid;border-top:#cccccc 1px solid;clear:left;}
</style>
<script src="../../Include/Js/check.js"></script>

</head>
<body>
     <form id="form1" runat="server">
    <div>
    <div align="Justify">
      <h2>最低金额设置</h2>
        <div class="menu_bg"><asp:Button ID="btnSubmit" runat="server" CssClass="input_button" Text="保存" OnClick="btnSubmit_Click" />
        &nbsp;<asp:Button ID="btnCancel" runat="server" CssClass="input_button" Text="取消" OnClick="btnCancel_Click" /></div>
        <div class="menu_bg3">
        最低金额：  
            <asp:TextBox ID="TextBox1" runat="server" onkeyup="CheckFloat('TextBox1','充值金额必须是正整数或正浮点数')"></asp:TextBox>
        </div>
     </div>
    </div>
    </form>
</body>
</html>